package com.yxw.live_vod_backend_boot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yxw.live_vod_backend_boot.dto.ShopReviewQueryDTO;
import com.yxw.live_vod_backend_boot.entity.YxShopReviewEntity;
import com.yxw.live_vod_backend_boot.vo.ShopReviewVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 店铺审核管理Mapper接口
 *
 * @author xiexuxin
 * @date 2023-11-28
 */
@Repository
public interface ShopReviewMapper extends BaseMapper<YxShopReviewEntity> {

    /**
     * 获取店铺审核数据列表
     * @param page
     * @param dto
     * @return
     */
    List<ShopReviewVO> getShopReviewList(Page<ShopReviewVO> page, @Param("dto") ShopReviewQueryDTO dto);
}
